import request from '../utils/request.js'

export const recommendMV = params => request({
  // 推荐MV
  url: '/personalized/mv',
  params: params,
  method: 'get'
})
export const recommendMusicList = params => request({
  // 推荐歌单
  url: '/personalized',
  params: params,
  method: 'get'
})

export const newMV = params => request({
  // 最新mv
  url: '/mv/first',
  params,
  method: 'get'
})

export const newMusic = params => request({
  //推荐新音乐
  url: '/personalized/newsong',
  params: params,
  method: 'get'
})
export const musicAllList = params => request({
  // 获取歌单所有歌曲
  method: 'get',
  url: '/playlist/track/all',
  params
})

export const musicListDetail = params => request({
  // 歌单详情
  method: 'get',
  url: "/playlist/detail",
  params
})

